{"version":3,"sources":["image-editor.js"],"names":["BX","namespace","onCustomEvent","Landing","Utils","removeCustomEvent","fireCustomEvent","isString","isFunction","proxy","UI","Tool","ImageEditor","this","editor","Aviary","Feather","apiKey","apiVersion","theme","language","getLang","onSave","bind","onError","onClose","imageId","url","close","resolver","error","console","dirty","shouldBeString","value","paramName","TypeError","shouldBeFunction","prepareEventName","eventName","includes","getInstance","instance","prototype","edit","options","Promise","resolve","launch","on","event","handler","context","off"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,sBAEb,IAAIC,EAAgBF,GAAGG,QAAQC,MAAMF,cACrC,IAAIG,EAAoBL,GAAGG,QAAQC,MAAMC,kBACzC,IAAIC,EAAkBN,GAAGG,QAAQC,MAAME,gBACvC,IAAIC,EAAWP,GAAGG,QAAQC,MAAMG,SAChC,IAAIC,EAAaR,GAAGG,QAAQC,MAAMI,WAClC,IAAIC,EAAQT,GAAGG,QAAQC,MAAMK,MAU7BT,GAAGG,QAAQO,GAAGC,KAAKC,YAAc,WAEhCC,KAAKC,OAAS,IAAIC,OAAOC,SACxBC,OAAQ,mCACRC,WAAY,EACZC,MAAO,QACPC,SAAUP,KAAKQ,UACfC,OAAQA,EAAOC,KAAK,KAAMV,MAC1BW,QAASA,EAAQD,KAAK,KAAMV,MAC5BY,QAASA,EAAQF,KAAK,KAAMV,SAW9B,SAASS,EAAOR,EAAQY,EAASC,GAEhCb,EAAOA,OAAOc,QACdd,EAAOe,SAASF,GAEhBrB,EAAgBQ,EAAQ,uCAAwCa,IASjE,SAASH,EAAQV,EAAQgB,GAExBC,QAAQD,MAAMA,GACdxB,EAAgBQ,EAAQ,wCAAyCgB,IASlE,SAASL,EAAQX,EAAQkB,GAExB1B,EAAgBQ,EAAQ,wCAAyCkB,IAQlE,SAASC,EAAeC,EAAOC,GAE9B,IAAK5B,EAAS2B,GACd,CACC,MAAM,IAAIE,UAAUD,EAAY,wBASlC,SAASE,EAAiBH,EAAOC,GAEhC,IAAK3B,EAAW0B,GA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